package com.ruoyi.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.util.OurBaseEntity;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;

/**
 * uncheck对象 article_uncheck
 * 
 * @author ya
 * @date 2025-07-12
 */
@Data
@TableName("article_uncheck")
public class ArticleUncheck extends OurBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long articleId;

    /** 标题 */
    @Excel(name = "标题")
    @TableField(value = "title")
    private String title;

    /** 文章来源 */
    @Excel(name = "文章来源")
    @TableField(value = "article_origin")
    private String articleOrigin;

    /** 栏目id */
    @Excel(name = "栏目id")
    @TableField(value = "column_id")
    private Long columnId;

    /** 内容 */
    @Excel(name = "内容")
    @TableField(value = "content")
    private String content;

    /** 责任编辑 */
    @Excel(name = "责任编辑")
    @TableField(value = "author")
    private String author;

    /** 封面路径 */
    @Excel(name = "封面路径")
    @TableField(value = "cover_path")
    private String coverPath;

    /** author对应的登录ip地址 */
    @Excel(name="登录ip")
    @TableField(value = "ip")
    private String ip;

    /** 审核通过日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核通过日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "pubdate")
    private Date pubdate;

    /** 0未审核1审核 */
    @Excel(name = "0未审核1审核")
    @TableField(value = "state")
    private String state;

    /** 审核通过表 */
    @Excel(name = "审核通过表")
    @TableField(value="appval")
    private String appval;

    /** 副标题1 */
    @TableField(value="little_title1")
    private String littleTitle1;

    /** 副标题2 */
    @TableField(value="little_title2")
    private String littleTitle2;



    @TableField(exist = false)
    //private List<String> notInStates;
    boolean isAdmin;

    @TableField(exist = false)
    boolean clearPubdate;

    /** 附件路径 */
    @Excel(name = "附件路径")
    @TableField(value="attachment")
    private String attachment;

    public void setClearPubdate(boolean clearPubdate) {
        this.clearPubdate = clearPubdate;
    }
    
    /** 开始发布日期 */
    @TableField(exist = false)
    private String beginPubdate;

    /** 结束发布日期 */
    @TableField(exist = false)
    private String endPubdate;


}
